package com.common.excel;

import lombok.Data;

import java.util.List;
import java.util.Map;

/**
 * Excel value的检查结果类
 *
 * @author johnny
 * @create 2019-10-30 下午10:23
 **/
@Data
public class ExcelValueCheckResp {

    private Integer sucNumber = 0;

    private Integer failNumber = 0;

    private Map<Integer, List<ErrorInfoResp>> errorInfoRespMap;

    public static class ErrorInfoResp{
        public String msg;

        public ErrorInfoResp(String msg) {
            this.msg = msg;
        }
    }

    public void setErrorInfoRespMap(Map<Integer, List<ErrorInfoResp>> errorInfoRespMap) {
        this.errorInfoRespMap = errorInfoRespMap;
    }

}